import {bizRequest} from '../api.js'

/**
 * 项目查询
 * @param query 查询条件
 * @returns {Promise<unknown>}
 */
export const list = query => {
  let {pagination, queryJson} = query;
  return bizRequest({
    url: 'ProjectManage/GetPageList?',
    data: {
      pagination: JSON.stringify(pagination),
      queryJson: JSON.stringify(queryJson)
    }
  })
}